TimeRemaining
TimeRemaining[] gives the number of seconds remaining until the earliest enclosing TimeConstrained will request the current computation to stop.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.